<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>登录</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <script src="/js/jquery-2.2.3.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/bootstrap/bootstrap.min.css"/>
    <style type="text/css">
        .coldiv{ 
            padding:10px 10px;
        }
        .borderRed{
            border-width:1px;  /*边框宽度*/
			border-style:solid;/*边框样式虚线*/
			border-color:red;/*边框颜色*/
        }
        .borderGreen{
            border-width:1px;  /*边框宽度*/
			border-style:solid;/*边框样式虚线*/
			border-color:green;/*边框颜色*/
        }
        
    </style>
    <script type="text/javascript">   
		 
	</script>    
 
</head>

<body>
<div class="container">
    <div class="row">
        <div class="col-md-12 coldiv" align="center" style="font-size:24px">
                            支付页面 
        </div>
        <div class="col-md-12 coldiv borderRed"  style="font-size:16px">
             <form action="/pay/generatePayToken" method="post">
		                用户:<input type="text" name="userId" value="8"/><br><br>
		                类型:<input type="text" name="typeId" value="1"/><br><br>
		                提交:<input type="submit" name="" value="生成支付token"/><br><br>
             </form>
        </div>
       <div class="col-md-12 coldiv"  style="font-size:16px">
            <#if orderId??>
			    orderId:${orderId}<br>
		    </#if>
		    <#if payToken??>
			    payToken:${payToken}<br>
		    </#if>
        </div>
        <div class="col-md-12 coldiv borderGreen"  style="font-size:16px">
             <form action="/pay/getByToken" method="post">
		       token:<input type="text" name="payToken" value=""/><br><br>
		       submit:<input type="submit" name="" value="生成支付html"/><br><br>
             </form>
        </div>
         <div class="col-md-12 coldiv"  style="font-size:16px">
            <#if data??>
			    data:${data?html}<br>
		    </#if>
        </div>
        <div class="col-md-12 coldiv borderRed"  style="font-size:16px">
             <form action="/pay/aliPay" method="post">
		       token:<input type="text" name="payToken" value=""/><br><br>
		       submit:<input type="submit" name="" value="支付"/><br><br>
             </form>
        </div>
    </div>
</div>  
</body>

</html>